package com.cdc.network.tools;
import java.util.Date;
import java.util.List;
import java.util.Map;
public class Person {
	private long id;
	private String name;
	private int age;
	private double bodyWeight;
	private double height;
	//性别
	private boolean gender;
	//联系方式
	private Map<String,String> contacts;
	//地址
	private Address address;
	//职业
	private String career;
	//学历
	private Education education;
	

	private Date birthdate;
	//爱好
	private List<String> hobbies;

	private Date currentdate;
	
	private List<String> annexs;

	public Person() {
		
	}
	
	

	public Person(long id, String name, int age, double bodyWeight, double height, boolean gender,
			Map<String, String> contacts, Address address, String career, Education education, Date birthdate,
			List<String> hobbies, Date currentdate, List<String> annexs) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
		this.bodyWeight = bodyWeight;
		this.height = height;
		this.gender = gender;
		this.contacts = contacts;
		this.address = address;
		this.career = career;
		this.education = education;
		this.birthdate = birthdate;
		this.hobbies = hobbies;
		this.currentdate = currentdate;
		this.annexs = annexs;
	}



	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public double getBodyWeight() {
		return bodyWeight;
	}

	public void setBodyWeight(double bodyWeight) {
		this.bodyWeight = bodyWeight;
	}

	public double getHeight() {
		return height;
	}

	public void setHeight(double height) {
		this.height = height;
	}

	public boolean isGender() {
		return gender;
	}

	public void setGender(boolean gender) {
		this.gender = gender;
	}

	public Map<String, String> getContacts() {
		return contacts;
	}

	public void setContacts(Map<String, String> contacts) {
		this.contacts = contacts;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public String getCareer() {
		return career;
	}

	public void setCareer(String career) {
		this.career = career;
	}

	public Education getEducation() {
		return education;
	}

	public void setEducation(Education education) {
		this.education = education;
	}

	public Date getBirthdate() {
		return birthdate;
	}

	public void setBirthdate(Date birthdate) {
		this.birthdate = birthdate;
	}

	public List<String> getHobbies() {
		return hobbies;
	}

	public void setHobbies(List<String> hobbies) {
		this.hobbies = hobbies;
	}

	public Date getCurrentdate() {
		return currentdate;
	}

	public void setCurrentdate(Date currentdate) {
		this.currentdate = currentdate;
	}

	public List<String> getAnnexs() {
		return annexs;
	}

	public void setAnnexs(List<String> annexs) {
		this.annexs = annexs;
	}
	
	

}

